import http from '@/utils/http'
export function AuthRegisterNet(data: AuthRegisterParams): Promise<AuthRegisterResult> {
  return http.post('/auth/register', data)
}

export interface AuthRegisterParams {
  email: string
  password: string
  nickname: string
}

export interface AuthRegisterResult {
  userId: string
}
